.TH SERDI 1 "05 Jan 2017"

.SH NAME
.B serdi \- Read and write RDF syntax

.SH SYNOPSIS
serdi [\fIOPTION\fR]... \fIINPUT\fR \fIBASE_URI\fR

.SH OPTIONS

.TP
.BR \-a
Write ASCII output if possible.

.TP
.BR \-b
Fast bulk output for large serialisations.

.TP
.BR \-c " " \fIPREFIX\fR
Chop \fIPREFIX\fR from matching blank node IDs.

.TP
.BR \-e
Eat input one character at a time, rather than a page at a time which is the
default.  This is useful when reading from a pipe since output will be
generated immediately as input arrives, rather than waiting until an entire
page of input has arrived.  With this option serdi uses one page less memory,
but will likely be significantly slower.

.TP
.BR \-f
Keep full URIs in input (don't qualify).

.TP
.BR \-h
Print the command line options.

.TP
.BR \-i " " \fISYNTAX\fR
Read input as \fISYNTAX\fR.
Valid values (case-insensitive): \*(lqturtle\*(rq, \*(lqntriples\*(rq, \*(lqtrig\*(rq, \*(lqnquads\*(rq.

.TP
.BR \-l
Lax (non-strict) parsing.

.TP
.BR \-o " " \fISYNTAX\fR
Write output as \fISYNTAX\fR.
Valid values (case-insensitive): \*(lqturtle\*(rq, \*(lqntriples\*(rq, \*(lqtrig\*(rq, \*(lqnquads\*(rq

.TP
.BR \-p " " \fIPREFIX\fR
Add \fIPREFIX\fR to blank node IDs.

.TP
.BR \-q
Suppress all output except data.

.TP
.BR \-r " " \fIROOT_URI\fR
Keep relative URIs within \fIROOT_URI\fR.

.TP
.BR \-s " " \fIINPUT\fR
Parse \fIINPUT\fR as a string (terminates options).

.TP
.BR \-v
Display version information and exit.

.SH AUTHOR
Serdi was written by David Robillard <d@drobilla.net>

.SH COPYRIGHT
Copyright \(co 2011-2017 David Robillard.
.br
License: <http://www.opensource.org/licenses/isc>
.br
This is free software; you are free to change and redistribute it.
.br
There is NO WARRANTY, to the extent permitted by law.

.SH "SEE ALSO"
<http://drobilla.net/software/serd>
